package com.citcc4.traffic.data.domain.order;

import java.io.Serializable;
import java.util.Date;

public class OrderPatEntity implements Serializable {
    private String orderId;

    private String userId;

    private String deviceId;

    private String location;

    private Date snapDate;

    private String description;

    private String transgressCode;

    private String coverUrl;

    private String roadCode;

    private String sectionsCode;

    private String syntheticUrl;

    private String carnum;

    private String carColor;

    private String carType;

    private String state;

    private Date statisDate;

    private String delFlag;

    private Date createDate;

    private Date updateDate;

    private String creator;

    private String modifier;

    private String subPoliceFlag;

    private String address;

    private String areaId;

    private String orgCode;

    private static final long serialVersionUID = 1L;

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId == null ? null : orderId.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId == null ? null : deviceId.trim();
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location == null ? null : location.trim();
    }

    public Date getSnapDate() {
        return snapDate;
    }

    public void setSnapDate(Date snapDate) {
        this.snapDate = snapDate;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getTransgressCode() {
        return transgressCode;
    }

    public void setTransgressCode(String transgressCode) {
        this.transgressCode = transgressCode == null ? null : transgressCode.trim();
    }

    public String getCoverUrl() {
        return coverUrl;
    }

    public void setCoverUrl(String coverUrl) {
        this.coverUrl = coverUrl == null ? null : coverUrl.trim();
    }

    public String getRoadCode() {
        return roadCode;
    }

    public void setRoadCode(String roadCode) {
        this.roadCode = roadCode == null ? null : roadCode.trim();
    }

    public String getSectionsCode() {
        return sectionsCode;
    }

    public void setSectionsCode(String sectionsCode) {
        this.sectionsCode = sectionsCode == null ? null : sectionsCode.trim();
    }

    public String getSyntheticUrl() {
        return syntheticUrl;
    }

    public void setSyntheticUrl(String syntheticUrl) {
        this.syntheticUrl = syntheticUrl == null ? null : syntheticUrl.trim();
    }

    public String getCarnum() {
        return carnum;
    }

    public void setCarnum(String carnum) {
        this.carnum = carnum == null ? null : carnum.trim();
    }

    public String getCarColor() {
        return carColor;
    }

    public void setCarColor(String carColor) {
        this.carColor = carColor == null ? null : carColor.trim();
    }

    public String getCarType() {
        return carType;
    }

    public void setCarType(String carType) {
        this.carType = carType == null ? null : carType.trim();
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state == null ? null : state.trim();
    }

    public Date getStatisDate() {
        return statisDate;
    }

    public void setStatisDate(Date statisDate) {
        this.statisDate = statisDate;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag == null ? null : delFlag.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier == null ? null : modifier.trim();
    }

    public String getSubPoliceFlag() {
        return subPoliceFlag;
    }

    public void setSubPoliceFlag(String subPoliceFlag) {
        this.subPoliceFlag = subPoliceFlag == null ? null : subPoliceFlag.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId == null ? null : areaId.trim();
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode == null ? null : orgCode.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", orderId=").append(orderId);
        sb.append(", userId=").append(userId);
        sb.append(", deviceId=").append(deviceId);
        sb.append(", location=").append(location);
        sb.append(", snapDate=").append(snapDate);
        sb.append(", description=").append(description);
        sb.append(", transgressCode=").append(transgressCode);
        sb.append(", coverUrl=").append(coverUrl);
        sb.append(", roadCode=").append(roadCode);
        sb.append(", sectionsCode=").append(sectionsCode);
        sb.append(", syntheticUrl=").append(syntheticUrl);
        sb.append(", carnum=").append(carnum);
        sb.append(", carColor=").append(carColor);
        sb.append(", carType=").append(carType);
        sb.append(", state=").append(state);
        sb.append(", statisDate=").append(statisDate);
        sb.append(", delFlag=").append(delFlag);
        sb.append(", createDate=").append(createDate);
        sb.append(", updateDate=").append(updateDate);
        sb.append(", creator=").append(creator);
        sb.append(", modifier=").append(modifier);
        sb.append(", subPoliceFlag=").append(subPoliceFlag);
        sb.append(", address=").append(address);
        sb.append(", areaId=").append(areaId);
        sb.append(", orgCode=").append(orgCode);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}